-
Notifications
You must be signed in to change notification settings - Fork 569
feat(django): Use functools.wraps in more places
#4144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
functools.wraps in more places
❌ 782 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
szokeasaurusrex
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, please address inline comments before merging
|
Looks like this change makes some unrelated tests fail/flake out. Investigating... |
antonpirker
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
One thought: could this confuse people because they are used to see some sentry_.. name and now suddenly the name changes?
It could. To be extra safe we could release this in a major 🤔 |
|
I guess this will also change the stack trace, so it could change the grouping. So maybe really better in a major version bump. |
Co-authored-by: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
2205120 to
c6c1bf2
Compare
|
Changed base to |
We're not using
@functools.wrapsin a handful of places in the Django integration, leading to the wrapped functions reporting wrong (i.e., Sentry wrapper) names when inspected.Closes #4138